<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../static/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="../../lib/Hui-iconfont/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="../../lib/Validform/5.3.2/style.css"/>
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="../../static/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="../../ht-css/Project.css"/>
    <link rel="stylesheet" type="text/css" href="../../ht-css/drop-down.css" />

    <!--引入分页-->
    <link rel="stylesheet" href="../../lib/pagination/pagination.css">
    <!--[if IE 6]>
    <script type="text/javascript" src="../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../ht-css/style-q.css"/>
    <link rel="stylesheet" href="../../ht-css/combo.select.css">
    <title>Code详情</title>
</head>
<body data-id="39">
<nav class="breadcrumb">商品管理 <span class="c-gray en">&gt;</span> 分类/品牌设置 <span class="c-gray en">&gt;</span> 商品售卖管 <span
        class="c-gray en">&gt;</span> SKU<!--<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
            href="javascript:location.replace(location.href);" title="刷新"><i
        class="Hui-iconfont">&#xe68f;</i></a>--></nav><article class="page-container">
    <div class="ml-20 mr-20" id="form-member-add" method="post">
        <div id="tab_topnav" class="HuiTab">
            <div class="tabBar clearfix"><span>基本信息</span></div>
            <div class="tabCon bg-1 bk-gray pb-10" id="productManage">
                <form class="lh-20 pd-10 classForm" name="">
                    <div class="pd-20 mb-20" style="margin-bottom: -34px;">
                        <tr>
                            <td class="col-4-1">商品SPU码：<span class="mr-30" id="spuCode"></span></td>
                            <td class="col-4-1">Code码：<span id="skuCode"></span></td>
                        </tr>
                        <div class="mb-15 mt-10">商品名称：<span id="skuName"></span></div>
                        <div class="mb-15">包装层数：<span id="packagingLayersNumber"></span></div>
                        <div class="mb-15">件装数量：<span id="partsNumber"></span></div>
                        <div class="mb-15">国际条形码：<span id="internationalBarCode"></span></div>
                        <div class="mb-15">限制购买类型：<span id="orderLimitType"></span></div>
                        <div class="mb-15">主计量单位：<span id="mainUnitName"></span></div>
                        <div class="mb-15">数量小数位：<span id="numberDecimal"></span></div>
                        <tr>
                            <td class="col-4-1">最小起售量：<span id="ycMiniOrder"></span><input type="text" id="miniorder" class="input-text radius" style="width: 93px;height: 26px;display: none" value="" onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'0')}else{this.value=this.value.replace(/\D/g,'')}"  ><a class="ml-10" style="display: none" id="confirm" onclick="ConfirmQuantity()">确定</a><a class="ml-10" style="display: none" id="cancel" onclick="CancelQuantity()">取消</a><a class="ml-10" id="modify" onclick="ModifiedQuantity()">修改</a></td>
                            <td class="col-4-1"><span style="margin-left: 16px;">商品中心最小起售量：</span><span id="miniOrders"></span></td>
                        </tr>
                        <div style="max-width: 600px;" id="minimum">
                        </div>
                        <div class="va-m lh-20 f-16 pb-15" style="margin-top: 20px;">
                            <strong>商品尺寸(单品)</strong>
                        </div>
                        <div class="line"></div>
                        <div class="mb-15"> 最长边：<span id="maxLength"></span></div>
                        <div class="mb-15"> 次长边：<span id="subLength"></span></div>
                        <div class="mb-15"> 最短边：<span id="minLength"></span></div>
                        <div class="mb-15"> 体积：<span id="volume"></span></div>
                        <div class="mb-15"> 重量：<span id="weight"></span></div>
                    </div>
                    <div class="pd-20 mb-20">
                    <div class="va-m lh-20 f-16 pb-15">
                        <strong>销售属性</strong>
                    </div>
                    <div class="line"></div>
                    <table id="attrTable"  class="table table-border table-bordered table-bg mt-15 mb-30">
                        <thead id="skuSaleAttributesdata">
                        <tr>
                          <!--  <th class="col-6-1 text-c">规格属性</th>
                            <td><span id="specificationProperties"></span></td>-->
                        </tr>

                        </thead>
                    </table>
                    </div>
                    <div class="pd-20 mb-20">
                        <div class="va-m lh-20 f-16 pb-15">
                            <strong>图片信息</strong>
                        </div>
                        <div class="line"></div>
                        <div class="lh-30 mb-10">
                           <!-- <div style="margin: 20px 0 18px 20px;">
                                <div class="check-box">
                                    <input class="btn radius f-l" type="button" id="RefinementImg" value="精修图" onclick="PictureInformation(1)">
                                    <input class="btn radius f-l ml-10" type="button" id="NotrefinedImg" value="非精修图" onclick="PictureInformation(2)">
                                </div>
                            </div>-->
                            <div class="check-box" id="SkuImg">
                            </div>
                        </div>
                        </div>
                        </div>
                        </div>
                        </div>
                        </form>
                        <!--_footer 作为公共模版分离出去-->
                        <script type="text/javascript" src="../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
                        <script type="text/javascript" src="../../lib/layer/2.4/layer.js?rev=@@hash"></script>
                        <script type="text/javascript" src="../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
                        <script type="text/javascript" src="../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
                        <!--请在下方写此页面业务相关的脚本-->
                        <script type="text/javascript" src="../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
                        <!--富文本编辑器-->
                        <script type="text/javascript" charset="utf-8" src="../../lib/ueditor/1.4.3/ueditor.config.js?rev=@@hash"></script>
                        <script type="text/javascript" charset="utf-8" src="../../lib/ueditor/1.4.3/ueditor.all.min.js?rev=@@hash"> </script>
                        <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
                        <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
                        <script type="text/javascript" charset="utf-8" src="../../lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js?rev=@@hash"></script>
                        <!--表单验证-->
                        <script type="text/javascript" src="../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
                        <script type="text/javascript" src="../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
                        <script type="text/javascript" src="../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
                        <script type="text/javascript" src="../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
                        <script type="text/javascript" src="../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
                        <!--表单验证-->
                        <script type="text/javascript" src="../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
                        <script src="../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
                        <script src="../../ht-js/coupon/coupon-topic.js?rev=@@hash"></script>
                        <script src="../../ht-js/public.js?rev=@@hash"></script>
                        <!--验证token-->
                        <script src="../../ht-js/verifyToken.js?rev=@@hash"></script>
                        <script src="../../ht-js/goods/sku-info.js?rev=@@hash"></script>
                        <script src="../../lib/angular.min.js?rev=@@hash"></script>
                        <script src="../../ht-js/goods/goods-list.js?rev=@@hash"></script>
                        <script>
                            //渲染图片
                            function pictureRendering(){
                                addSkuPic()
                            }
                            $("#addSpuImg").click(function () {
                                var imgLength = document.getElementsByClassName("imgboxUl")[0].children.length;
                                sessionStorage.setItem("imgLength", JSON.stringify(imgLength));
                                if(sessionStorage.getItem("skuImgCache")){
                                    var getSkuImgCache = sessionStorage.getItem("skuImgCache");
                                    var skuInfoImg = JSON.parse(getSkuImgCache);
                                    var skuInfoImgArr = Object.keys(skuInfoImg);
                                    addPic((skuInfoImgArr.length + 1), true);
                                }
                            });
                            jQuery.Huitab =function(tabBar,tabCon,class_name,tabEvent,i){
                                var $tab_menu=$(tabBar);
                                // 初始化操作
                                $tab_menu.removeClass(class_name);
                                $(tabBar).eq(i).addClass(class_name);
                                $(tabCon).hide();
                                $(tabCon).eq(i).show();

                                $tab_menu.bind(tabEvent,function(){
                                    $tab_menu.removeClass(class_name);
                                    $(this).addClass(class_name);
                                    var index=$tab_menu.index(this);
                                    $(tabCon).hide();
                                    $(tabCon).eq(index).show()})}
                    $(function () {
                         $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
                    });
</script>
</article>
</body>
</html>